package com.seari.vehbaseP.service;

import com.seari.vehbaseP.bean.CommonPartResponse;

public interface DiagramBehaviorService {

    /**
     * 获取设备实时数据
     * @param projectCode
     * @param deviceId
     * @return
     */
    CommonPartResponse fetchDeviceRealData(String projectCode, String deviceId);

    /**
     * 获取设备一天内历史数据
     * @param projectCode
     * @param deviceId
     * @param dataCode
     * @return
     */
    CommonPartResponse fetchDeviceHistoricalData(int projectCode, int deviceId,int dataCode);

}
